//
//  HotTagCollectionViewCell.m
//  SoundPill
//
//  Created by 宋旭东®Des on 15/2/11.
//  Copyright (c) 2015年 宋旭东. All rights reserved.
//

#import "HotTagCollectionViewCell.h"

@implementation HotTagCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubView];
    }
    return self;
}

- (void)createSubView
{
    self.hotTagText = [[UILabel alloc] initWithFrame:CGRectZero];
    _hotTagText.textAlignment = NSTextAlignmentCenter;
    _hotTagText.font = [UIFont fontWithName:@"Arial" size:16];
    _hotTagText.textColor = [UIColor whiteColor];

    [self addSubview:_hotTagText];
}

- (void)layoutSubviews
{
    _hotTagText.frame = CGRectMake(0, 0, self.frame.size.width, self.frame.size.height);
}
@end
